package entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * @Author Su
 * @Date 2025/4/30 23:07
 * @Version 1.0 （版本号）
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Article {
    private Integer id;
    private Integer knowledgeBaseId;
    private String title;
    private String content;
    private Integer authorId;
    private Date createdAt;
    private Date updatedAt;
    private List<ArticleAttachment> attachments;
    private Integer likeCounts;
    // 构造方法、getter和setter
}